package main

import (
	"time"

	"gitee.com/yanwc/ebike-xiaoan-device/simulator/client/device"
)

func main() {
	d, e := device.NewDevice("127.0.0.1:8999", "1234567", "7654321", 1, device.WithBeatHeartIntervalOption(time.Second*10))
	if e != nil {
		panic(e)
	}

	d.Login()
	select {}
}
